# Get position information from gps_demo.py
import xmlrpclib

# s = xmlrpclib.Server(“http://<ip of device>:8080”)
s = xmlrpclib.Server('http://www.baidu.com:8080')
print(s.position())